Skip to main content

Account Funding Transaction

Account Funding Transaction (AFT) is the Funds Transfer API provides functionality to Pull funds from the sender's Visa account.


Endpoint

Method: POST
URL: http://localhost:4041/rpc/VisaDirectService/AccountFundingTransaction


Request

Payload Parameters
ParameterTypeMandatoryDescription
businessIdstringYesIdentifies the program's business application type for VisaNet transaction processing.
AmountfloatYesThe transaction amount to be delivered to the recipient.
merchantCategoryCodeintegerNoIf provided, overrides the value present in onboarding data.
serviceProcessRequestTypestringNoRequest type.
purposeOfPaymentstringYesPurpose of the payment.
pointOfServiceDataobjectNoContains transaction condition details.
pointOfServiceData.motoECIIndicatorstringYesIdentifies the level of security used in an electronic commerce transaction over an open network.
pointOfServiceData.panEntryModestringYesA 2-digit code identifying the method used to enter the cardholder account number.
pointOfServiceData.posConditionCodeintegerYesIdentifies transaction conditions at the point of sale or service.
pointOfServiceData.posEnvironmentstringNoIdentifies whether the transaction is merchant-initiated.
pointOfServiceData.specialConditionIndicatorMerchantstringNoCryptocurrency indicator, value "7" can be used to identify cryptocurrency purchases.
posPanEntryModeintegerNoIdentifies the method used to enter the cardholder account number.
posConditionCodeintegerNoIdentifies transaction conditions at the point of sale or service.
posSpecialConditionIndicatorMerchantstringNoSpecial condition indicator for merchant.
programIdstringNoID of the program.
senderPrimaryAccountNumberstringNo16-digit PAN or token of the sender's account.
senderCardExpiryDatestringNoExpiration date for the sender's Visa account or token in senderPrimaryAccountNumber.
merchantVerificationValueobjectNoContains merchant verification values.
merchantVerificationValue.mvvAcquirerAssignedstringYesVisa assists the acquirer in assigning the last four digits.
merchantVerificationValue.mvvVisaAssignedstringYesVisa assigned MVV value.
recipientAccountNumberstringYesAccount number of the receiver.
endToEndIDstringYesUnique ID for a transaction.
senderCurrencyCodestringYesCurrency code of the sender.
senderNamestringNoName of the sender.
validateResponsebooleanNoStores the validated response.
cardTokenstringYesCard token containing encrypted card details.

Sample Request

{
"businessId": "FD",
"recipientAccountNumber": "4060320000000127",
"amount": "343434",
"senderCurrencyCode": "USD",
"purposeOfPayment": "billing",
"endToEndID": "343434",
"cardToken": "cfbedf58cb79ba81ee9aafecad212d5a"
}

Sample Response

{
"referenceNumber": "e615779ca2a242adb3b3942738de16a3"
}